Pulse width modulator circuit for switching regulators

ABSTRACT

A circuit is shown for pulse width modulating the output of a voltage controlled oscillator without introducing any oscillator frequency or amplitude (slope) modulation. A summing circuit is combined with a comparator and provided with inputs that accommodate differential sum/difference inputs, an error input and a ramp input from the oscillator or other source. The ramp and error signals are combined differentially to pulse width modulate the comparator output and pulse width modulation can also be achieved via the sum/difference inputs in a differential relationship.

BACKGROUND OF THE INVENTION

The invention relates to the switching regulator art in which a switch duty cycle controls the energy transfer in a power supply. The fundamental operation of such devices is set forth in a paper titled SCALING DOWN PWM CHIP SUITS LOW-POWER SWITCHERS in the July 8, 1982, issue of Electronic Design, pages 175-179. This paper sets forth the fundamental details of buck, boost, and flyback power supply circuits. Another paper in the same issue of Electronic Design, on pages 69-80, is titled POWER-SUPPLY ICs GAIN IN FUNCTION, PROGRAMMABILITY and shows how FET switches are employed.

SUMMARY OF THE INVENTION

It is an object of the invention to provide a pulse width modulator in which a ramp signal, generated in a voltage controlled oscillator, is compared with an error voltage to produce a pulse having a frequency equal to that of the oscillator and a duty cycle determined by the comparison.

It is a further object of the invention to develop a "constant slope" ramp signal which is compared with an error voltage to develop a pulse having a modulated duty cycle.

It is a still further object of the invention to modulate the width of a pulse in response to a sum/difference control voltage wherein a constant slope ramp voltage supplied by a voltage controlled oscillator is compared with an error voltage to develop a pulse width modulated output pulse.

These and other objects are achieved as follows. A Voltage-Controlled Oscillator (VCO), which can be made a part of a Phase-Locked Loop (PLL), is configured to produce an output ramp that is applied to a summing circuit. The summing circuit is also provided with an error voltage input and differential sum/difference inputs. The summing circuit in turn feeds the input to a comparator which has a Pulse Width Modulation (PWM) output. The PWM output is duty cycle related to the error voltage and the sum/difference voltages. This means that the ramp voltage can be made to have a constant slope so that VCO performance is related only to its frequency determining elements.

In a preferred embodiment the summing circuit comprises a pair of differentially operated current combiners. The input terminals which receive the error, ramp and sum/difference voltages are coupled to voltage controlled constant current devices. The summed currents are sensed by load elements which develop voltages that are fed to a conventional comparator.

The sum/difference inputs can be used to add or subtract from the ramp or error voltage. This is useful in many applications, such as feed forward, current mode feedback (ramp compensation), adaptive start-up, and the like.

BRIEF DESCRIPTION OF THE DRAWING

FIG. 1 is a block diagram of a commonly used prior art PWM circuit.

FIG. 2 is a graph of the waveforms of the FIG. 1 circuit.

FIG. 3 is a block diagram of the circuit of the invention.

FIG. 4 is a graph of the waveforms of the FIG. 3 circuit.

FIG. 5 is a schematic diagram of the summer circuit employed in block 20 of FIG. 3.

DESCRIPTION OF THE PRIOR ART

FIG. 1 is a block diagram of a prior art PWM. A Voltage-Controlled Oscillator (VCO) 10 is provided with a resistor 11 and a capacitor 12. It generates a ramp (or sawtooth) signal output on line 13. The VCO is provided with a pair of voltage sensitive frequency controlling inputs. Terminal 14 is the input normally connected to the filter in a Phase-Locked Loop (PLL) and terminal 15 provides a synchronization input. Thus, while VCO 10 is voltage responsive, its basic frequency is determined by an R-C combination. Another input at terminal 16 provides what is called feed forward input which permits a rapid oscillator amplitude (slope) modulation with an applied voltage. (A feed forward input is used to provide an initial open loop compensation for changes due to input voltage variations.) The sawtooth at line 13 can be amplitude modulated, without any frequency change, as a function of the voltage at terminal 16. Note that the slope is not constant.

The sawtooth on line 13 and an error input voltage at terminal 17 are fed to comparator 18. FIG. 2 shows the waveforms associated with the FIG. 1 circuit. The comparator output, at terminal 19 is waveform C. This is a pulse the width of which will be varied as a function of the error voltage level. Waveform A represents the ramp voltage. As the error voltage rises the pulse width narrows for the circuit shown. Waveform B, shown in dashed outline, shows a higher amplitude or slope ramp. The effect is shown in output waveform D, which is also shown in dashed outline, as a broadening of the output pulse. Thus, the output pulse width can be modulated by both the error voltage and the feed forward voltage. With this system, as the frequency is increased it becomes very difficult to hold the frequency constant as the ramp slope changes because the ramp trip points must change with ramp slope to maintain constant frequency.

In the ideal system the operating frequency is constant and only determined by resistor 11 and capacitor 12 along with the D-C input on terminal 14. Actually whenever a VCO is amplitude modulated, its frequency will tend to shift. This is due in part to the fact that the flyback time cannot be made zero. Furthermore temperature responsive component variations will ordinarily make the oscillator frequency temperature sensitive.

One way to avoid the frequency shift resulting from the feed forward voltage is to split the VCO and ramp generator actions apart and to modulate only the ramp generator with the feed forward voltage. This approach requires a dual matched set of resistor and capacitor components.

Another problem relates to the feed forward sense. Once the system is set up as shown the feed forward modulation of the VCO is in one direction. As shown, increasing the ramp amplitude widens the output pulse (waveform D). If it is desired to invert the feed forward sense an inverting buffer would have to be inserted into line 16.

DESCRIPTION OF THE INVENTION

FIG. 3 is a block diagram of the circuit of the invention. Where the parts function in the same way as those in FIG. 1 the same numbers are employed. FIG. 4 shows the waveforms associated with FIG. 3. The main difference is the inclusion of a summing block 20 at the comparator 18 input. A pair of summers 21 and 22 are incorporated into the comparator inputs and a pair of sum/difference inputs 23 and 24. Summer 21 combines the VCO ramp and the non-inverting (sum) input from terminal 23. Summer 22 combines the error input from terminal 17 with the inverting (difference) input at terminal 24. FIG. 4 shows the basic waveforms of the FIG. 3 circuit. It can be seen that as the error voltage rises the output pulse will narrow. The ramp waveform will be of constant amplitude but its level, as sensed at the comparator 18 non-inverting input, will be determined by the potential at terminal 23. As the ramp level is raised it can be seen that the output pulse width will be widened. Thus the output pulse width is proportional to the non-inverting input.

The inverting potential at terminal 24 will raise and lower the error voltage applied to the comparator 18 inverting input. Thus, as this potential is raised, the pulse width will narrow. This means that the sense of the sum/difference action can be selected as desired without resorting to an inverting buffer.

FIG. 5 is a schematic diagram of a summing circuit, suitable for IC construction, that can be used to accomplish the function of block 20 of FIG. 3. Summer 21 is accomplished by the current mode combination of the outputs of transistors 25 and 26 in resistor 27. Summer 22 is accomplished by the current mode combination of the outputs of transistors 28 and 29 in resistor 30. The four transistors 25, 26, 28 and 29 are provided with four current sinks 31-34. Resistors 35-38 degenerate and linearize the currents in the emitters of the four transistors. Resistor 39 differentially interconnects transistors 25 and 28 while resistor 40 differentially interconnects transistors 26 and 29. Resistors 41 and 42 return the bases of transistors 26 and 29 respectively to a bias voltage source 43.

The voltages at input terminals 17, 24, 13 and 23 respectively bias transistors 25, 26, 28 and 29. Since load resistors 27 and 30 sum the transistor currents, the comparator inputs are voltage replicas of the input terminal voltages. Resistor 39 forces transistors 25 and 28 to operate differentially so that the error and ramp voltages are compared differentially. Resistor 40 forces transistors 26 and 29 to operate differentially so that the sum/difference inputs operate in a differential manner also. In the absence of any sum/difference signals terminals 23 and 24 will be at the level of voltage source 43.

The invention has been shown and a preferred embodiment detailed for use with integrated circuitry. When a person skilled in the art reads the foregoing description, alternatives and equivalents, within the spirit and intent of the invention, will become apparent. Accordingly, it is intended that the scope of the invention be determined only by the following claims. 

We claim:
 1. A pulse width modulator circuit receiving an input control voltage and an error voltage and having an output terminal for supplying an output pulse that is width modulated by said error voltage, said circuit comprising:a voltage controlled oscillator for developing a ramp voltage having a frequency determined by said input control voltage and a predetermined slope; a summing block having a ramp input terminal coupled to receive said ramp voltage, an error voltage input terminal coupled to receive said error voltage, differential sum and difference input terminals and a pair of output terminals; and a comparator having a pair of input terminals coupled to said output terminals of said summing block and an output terminal for supplying said output pulse whereby said output pulse can be width modulated by said error voltage and by the voltages applied to said sum and difference input terminals without affecting the frequency or slope of said ramp voltage.
 2. The circuit of claim 1 wherein said summing block comprises first and second individual summers each of which has an output, coupled to one of said comparator inputs, said first summer having inputs coupled to said means for developing a ramp voltage and to one sum/difference input, and said second summer having inputs coupled to the other of said sum/difference inputs and to said error input terminal.
 3. The circuit of claim 2 wherein each of said summers comprise:first and second transistors having their collectors commonly connected to a first load element, to provide said output thereof, first and second constant current sinks respectively coupled in series with their emitters, and means for feeding current control signals to their bases.
 4. The circuit of claim 3 further comprising emitter degeneration resistors coupled in series with said first and second transistors whereby the voltage responsive current transfer functions are scaled and linearized. 